package com.guazai.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guazai.common.pojo.InterfaceInfo;
import com.guazai.project.model.vo.AnalysisVO;

import java.util.List;

/**
* @author guazai
* @description 针对表【interface_info(接口信息)】的数据库操作Mapper
* @createDate 2024-07-14 00:01:01
* @Entity com.guazai.common.pojo.InterfaceInfo
*/
public interface InterfaceInfoMapper extends BaseMapper<InterfaceInfo> {

    /**
     * 获得调用最多的三个接口信息
     * @param limit
     * @return
     */
    List<AnalysisVO> getTopInterfaceInfo(Integer limit);

    /**
     * @Description: 获取接口信息总调用次数
     * @param:
     * @return:
     */
    Integer getInterfaceInfoTotalInvokesCount();
}




